home *** CD-ROM | disk | FTP | other *** search
/ Apple AUX 3.0 / Apple AUX 3.0.iso / MacInstallFiles / Printing / LaserWriter / LaserWriter.rsrc / bin.rsrc_DRVR_-8192_.XPrint.txt < prev    next >
Text File  |  1991-04-25  |  48KB  |  867 lines

  1. # name: .Print
  2. # flags: 0x0400 (ENABLE_CONTROL)
  3. # delay: 0
  4. # event mask: 0x0000
  5. # menu id: 0
  6. # open label: 0000
  7. # prime label: 003C
  8. # control label: 006C
  9. # status label: 003C
  10. # close label: 0040
  11. open:
  12. 00000000  137C 0046 0007           move.b     [A1 + 0x7], 0x46 /* 'F' */
  13. 00000006  45F8 0944                lea.l      A2, [0x00000944 /* PrintErr */]
  14. 0000000A  425A                     clr.w      [A2]+
  15. 0000000C  08D2 0005                bset.b     [A2], 0x5
  16. 00000010  594F                     subq.w     A7, 4
  17. 00000012  3F38 0210                move.w     -[A7], [0x00000210 /* BootDrive */]
  18. 00000016  3F3C E000                move.w     -[A7], 0xE000
  19. 0000001A  4227                     clr.b      -[A7]
  20. 0000001C  4EBA 022C                jsr        [PC + 0x22C /* 0000024A */]
  21. 00000020  08D2 0004                bset.b     [A2], 0x4
  22. 00000024  4A1F                     tst.b      [A7]+
  23. 00000026  6604                     bne        +0x6 /* 0000002C */
  24. 00000028  0892 0004                bclr.b     [A2], 0x4
  25. label0000002C:
  26. 0000002C  089A 0003                bclr.b     [A2]+, 0x3
  27. 00000030  14BC 00FD                move.b     [A2], 0xFD
  28. 00000034  31DF 0952                move.w     [0x00000952 /* PrRefNum */], [A7]+
  29. 00000038  7000                     moveq.l    D0, 0x00
  30. 0000003A  4E75                     rts
  31. prime:
  32. status:
  33. 0000003C  7000                     moveq.l    D0, 0x00
  34. 0000003E  4E75                     rts
  35. close:
  36. 00000040  45F8 0946                lea.l      A2, [0x00000946 /* ChooserBits */]
  37. 00000044  0CAA FFFF FFFF 0002      cmpi.l     [A2 + 0x2], 0xFFFFFFFF
  38. 0000004C  6704                     beq        +0x6 /* 00000052 */
  39. 0000004E  4EBA 00F0                jsr        [PC + 0xF0 /* 00000140 */]
  40. label00000052:
  41. 00000052  3038 0952                move.w     D0, [0x00000952 /* PrRefNum */]
  42. 00000056  6B0A                     bmi        +0xC /* 00000062 */
  43. 00000058  0812 0004                btst.b     [A2], 0x4
  44. 0000005C  6704                     beq        +0x6 /* 00000062 */
  45. 0000005E  3F00                     move.w     -[A7], D0
  46. 00000060  A99A                     syscall    CloseResFile
  47. label00000062:
  48. 00000062  089A 0004                bclr.b     [A2]+, 0x4
  49. 00000066  50DA                     st         [A2]+
  50. 00000068  7000                     moveq.l    D0, 0x00
  51. 0000006A  4E75                     rts
  52. control:
  53. 0000006C  45FA 001E                lea.l      A2, [PC + 0x1E /* 0000008C, value 0x43FA0032 */]
  54. 00000070  610E                     bsr        +0x10 /* 00000080 */
  55. 00000072  3038 0944                move.w     D0, [0x00000944 /* PrintErr */]
  56. 00000076  3140 0010                move.w     [A0 + 0x10], D0
  57. 0000007A  2F38 08FC                move.l     -[A7], [0x000008FC /* JIODone */]
  58. 0000007E  4E75                     rts
  59. fn00000080:
  60. 00000080  48E7 00C0                movem.l    -[A7], A0,A1
  61. 00000084  4E92                     jsr        [A2]
  62. 00000086  4CDF 0300                movem.l    A0,A1, [A7]+
  63. 0000008A  4E75                     rts
  64. 0000008C  43FA 0032                lea.l      A1, [PC + 0x32 /* 000000C0, value 0x40003, cstring "" */]
  65. 00000090  3228 001A                move.w     D1, [A0 + 0x1A]
  66. 00000094  45E8 001C                lea.l      A2, [A0 + 0x1C]
  67. label00000098:
  68. 00000098  9259                     sub.w      D1, [A1]+
  69. 0000009A  6B0E                     bmi        +0x10 /* 000000AA */
  70. 0000009C  B259                     cmp.w      D1, [A1]+
  71. 0000009E  6E0A                     bgt        +0xC /* 000000AA */
  72. label000000A0:
  73. 000000A0  D241                     add.w      D1, D1
  74. 000000A2  3231 1000                move.w     D1, [A1 + D1.w]
  75. 000000A6  4EF1 1000                jmp        [A1 + D1.w]
  76. label000000AA:
  77. 000000AA  70EF                     moveq.l    D0, 0xFFFFFFEF
  78. 000000AC  4A78 0944                tst.w      [0x00000944 /* PrintErr */]
  79. 000000B0  6706                     beq        +0x8 /* 000000B8 */
  80. 000000B2  0C40 FFE5                cmpi.w     D0, 0xFFE5
  81. 000000B6  6604                     bne        +0x6 /* 000000BC */
  82. label000000B8:
  83. 000000B8  31C0 0944                move.w     [0x00000944 /* PrintErr */], D0
  84. label000000BC:
  85. 000000BC  4E75                     rts
  86. 000000BE  4E75                     rts
  87. 000000C0  0004 0003                ori.b      D4, 0x3
  88. 000000C4  0008 0028                ori.b      A0, 0x28 /* '(' */
  89. 000000C8  FFFA                     .invalid   <<F/7/7>>
  90. 000000CA  0034 2878 0948           ori.b      [A4 + <<invalid base displacement size>>], 0x78 /* 'x' */
  91. 000000D0  6100 0160                bsr        +0x162 /* 00000232 */
  92. 000000D4  2F1A                     move.l     -[A7], [A2]+
  93. 000000D6  2F1A                     move.l     -[A7], [A2]+
  94. 000000D8  2F1A                     move.l     -[A7], [A2]+
  95. 000000DA  4EBA 03BE                jsr        [PC + 0x3BE /* 0000049A */]
  96. 000000DE  4A78 0944                tst.w      [0x00000944 /* PrintErr */]
  97. 000000E2  6F06                     ble        +0x8 /* 000000EA */
  98. 000000E4  08F8 0007 0944           bset.b     [0x00000944 /* PrintErr */], 0x7
  99. label000000EA:
  100. 000000EA  4E75                     rts
  101. 000000EC  205A                     movea.l    A0, [A2]+
  102. 000000EE  201A                     move.l     D0, [A2]+
  103. 000000F0  221A                     move.l     D1, [A2]+
  104. 000000F2  43FA 001A                lea.l      A1, [PC + 0x1A /* 0000010E, value 0xCA00F8, cstring "" */]
  105. 000000F6  60A8                     bra        -0x56 /* 000000A0 */
  106. 000000F8  43FA 0006                lea.l      A1, [PC + 0x6 /* 00000100, value 0x10004, cstring "" */]
  107. 000000FC  321A                     move.w     D1, [A2]+
  108. 000000FE  6098                     bra        -0x66 /* 00000098 */
  109. 00000100  0001 0004                ori.b      D1, 0x4
  110. 00000104  0016 008C                ori.b      [A6], 0x8C
  111. 00000108  00B2 0068 003C 00CA      ori.l      [A2 + D0.w - 0x54], 0x68003C /* 'h\0<' */
  112. 00000110  00F8                     .incomplete
  113. 00000112  FF9C                     .invalid   <<F/6/7>>
  114. 00000114  FF9C                     .invalid   <<F/6/7>>
  115. 00000116  FF9C                     .invalid   <<F/6/7>>
  116. 00000118  FF9C                     .invalid   <<F/6/7>>
  117. 0000011A  4EBA 0204                jsr        [PC + 0x204 /* 00000320 */]
  118. 0000011E  4A78 0944                tst.w      [0x00000944 /* PrintErr */]
  119. 00000122  660E                     bne        +0x10 /* 00000132 */
  120. 00000124  2878 0948                movea.l    A4, [0x00000948]
  121. 00000128  50EC 0006                st         [A4 + 0x6]
  122. 0000012C  197C 0002 0007           move.b     [A4 + 0x7], 0x2
  123. label00000132:
  124. 00000132  4A78 0944                tst.w      [0x00000944 /* PrintErr */]
  125. 00000136  6F06                     ble        +0x8 /* 0000013E */
  126. 00000138  08F8 0007 0944           bset.b     [0x00000944 /* PrintErr */], 0x7
  127. label0000013E:
  128. 0000013E  4E75                     rts
  129. fn00000140:
  130. 00000140  2038 0948                move.l     D0, [0x00000948]
  131. 00000144  6710                     beq        +0x12 /* 00000156 */
  132. 00000146  2840                     movea.l    A4, D0
  133. 00000148  592C 0007                subq.b     [A4 + 0x7], 4
  134. 0000014C  6602                     bne        +0x4 /* 00000150 */
  135. 0000014E  6140                     bsr        +0x42 /* 00000190 */
  136. label00000150:
  137. 00000150  197C 0006 0007           move.b     [A4 + 0x7], 0x6
  138. label00000156:
  139. 00000156  4EBA 02C6                jsr        [PC + 0x2C6 /* 0000041E */]
  140. 0000015A  3038 0944                move.w     D0, [0x00000944 /* PrintErr */]
  141. 0000015E  0C40 8080                cmpi.w     D0, 0x8080
  142. 00000162  6606                     bne        +0x8 /* 0000016A */
  143. 00000164  08B8 0007 0944           bclr.b     [0x00000944 /* PrintErr */], 0x7
  144. label0000016A:
  145. 0000016A  4E75                     rts
  146. fn0000016C:
  147. 0000016C  2038 0948                move.l     D0, [0x00000948]
  148. 00000170  6710                     beq        +0x12 /* 00000182 */
  149. 00000172  2840                     movea.l    A4, D0
  150. 00000174  197C 0003 0007           move.b     [A4 + 0x7], 0x3
  151. 0000017A  426C 0008                clr.w      [A4 + 0x8]
  152. 0000017E  4EBA 0214                jsr        [PC + 0x214 /* 00000394 */]
  153. label00000182:
  154. 00000182  4A78 0944                tst.w      [0x00000944 /* PrintErr */]
  155. 00000186  6F06                     ble        +0x8